package com.cos.emp.rjz9emp.dao;

import com.cos.emp.rjz9emp.entity.Emp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: COS
 * @time: 2021/12/24 11:02
 * @description:
 */
public interface EmpMapper {
    /**
     *
     * @author: COS
     * @return:
     * @time: 2021/12/24 11:02
     * @description: 查询所有
     */
    List<Emp> getAll();
    List<Emp> getEmpByPage(@Param("startSalary") Double startSalary,
                           @Param("endSalary") Double endSalary,
                           @Param("ename") String ename);
}
